cmake_minimum_required(VERSION 3.20)
project(ArmorDetector12_11)

set(CMAKE_CXX_STANDARD 11)

add_executable(ArmorDetector12_11 main.cpp ArmorPlate.cpp ArmorPlate.h)

include_directories(/home/rm/openCV/lib/include)
include_directories(/home/rm/openCV/lib/opencv)
include_directories(/home/rm/openCV/lib/opencv2)

set(SOURCE_FILES main.cpp)
set (OpenCV_DIR /home/rm/openCV/out)

find_package(OpenCV REQUIRED)

target_link_libraries(ArmorDetector12_11 ${OpenCV_LIBS})
